import {createStore,combineReducers,applyMiddleware} from 'redux'
import thunk from 'redux-thunk'
import {composeWithDevTools} from 'redux-devtools-extension'
import register from './modules/register'
import login from './modules/login'
import home from './modules/home'
import cate from './modules/cate'
import mine from './modules/mine'
import shop from './modules/shop'
let reducer=combineReducers({
    register,
    login,
    home,
    cate,
    mine,
    shop
    
})

let store =createStore(reducer,composeWithDevTools(applyMiddleware(thunk)))


export default store;